package model;

public class Movie {
    private String name;
    private String director;
    private String mainActor;
    private String description;
    private int duration; // minutes
    private int score; // 0-10

    public Movie(String name, String director, String mainActor, String description, int duration, int score) {
        this.name = name;
        this.director = director;
        this.mainActor = mainActor;
        this.description = description;
        this.duration = duration;
        this.score = score;
    }

    public String getName() { return name; }
    public String getDirector() { return director; }
    public String getMainActor() { return mainActor; }
    public String getDescription() { return description; }
    public int getDuration() { return duration; }
    public int getScore() { return score; }

    public void setDirector(String director) { this.director = director; }
    public void setMainActor(String mainActor) { this.mainActor = mainActor; }
    public void setDescription(String description) { this.description = description; }
    public void setDuration(int duration) { this.duration = duration; }
    public void setScore(int score) { this.score = score; }
}